package staticinnerclass;

public class TestStaticClass {
    public static void main(String[] args) {
        System.out.println(Outer.a);
        System.out.println(Outer.Inner.b);
    Outer.Inner in =new Outer.Inner();
    in.m2();
    }

}
class Outer{
    static  int a =10;
    //静态内部类
    static  class Inner{
        static  int b=20;
    public void m2(){
        System.out.println("Inner m2()");
    }
    }
}